package com.niit.ssm.service.impl;

import com.niit.ssm.dao.StudentDao;
import com.niit.ssm.entity.Student;
import com.niit.ssm.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * @author yaojianfeng
 */
@Service("serviceUseTemplate")
public class ServiceUseTemplateImpl implements StudentService {

    @Autowired
    @Qualifier("studentDaoUseTemplate")
    private StudentDao dao;

    @Override
    public int insert(Student student) {
        return 0;
    }

    @Override
    public int queryTotalCount() {
        return dao.queryTotalCount();
    }


}
